<?php 
   /**
    * Clase Html
    * @abstract Classe para imprimir tags html
    * @author Edson Sguizzato
    */
   Class Html{
      
      protected static $cssPath = "css/style.css";
      
      /**
       * Contrutor
       * @param none
       * @return none
       */
      public function __construct(){}
      
      public static function abrirHtml(){
         return "<!DOCTYPE html>\n".
            "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"pt-br\" xml:lang=\"pt-br\">\n".
            "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
      }//fim método abrirHtml
      
      public static function head($tituloPagina,$posicaoCss){
         return "<head>\n".
            "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$posicaoCss.self::$cssPath."\">\n".
            "<title>$tituloPagina</title>\n".
            "</head>\n";
      }//fim método head
      
      public static function abrirBody(){
         return "<body>\n";
      }//fim método abrirBody
      
      public static function fecharBody(){
         return "</body>\n";
      }//fim método fecharBody
      
      public static function fecharHtml(){
         return "</html>\n";
      }//fim método fecharHtml
      
      public static function abrirForm($method,$action){
         return "<form method=\"$method\" action=\"$action\">\n";
      }//fim método abrirForm
      
      public static function fecharForm(){
         return "</form>\n";
      }//fim método fecharForm
         
   }//fim classe Html
?>